package com.etoak.service;

import com.etoak.common.core.vo.PageVO;
import com.etoak.entity.Dishes;
import com.baomidou.mybatisplus.extension.service.IService;
import com.etoak.vo.DishesVO;

/**
 * DishesService服务类
 *
 * @author et2403
 * @since 2024-08-14
 */
public interface DishesService extends IService<Dishes> {
    /**
     * 添加菜品
     * @param dishes
     */
    void add(Dishes dishes);

    PageVO<DishesVO> getList(int pageNum,int pageSize,Dishes dishes);

    /**
     * 更新菜品
     * @param id
     * @param dishes
     */
    void update(int id, Dishes dishes);

    void delete(int id);
}

